import { request } from '@/utils/request'
/**
 * 简化的表单POST方法
 */
export function postForm<T = any>(
  url: string,
  data: Record<string, any>,
  extraHeaders: Record<string, string> = {}
): Promise<T> {
  return request<T>(url, 'POST', data, extraHeaders)
}